package com.cnyz.mapper;

import com.cnyz.dto.ExamDto;
import com.cnyz.entity.Exam;
import com.cnyz.vo.ExamVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExamMapper {
    public int insertExam(Exam exam);
    public List<ExamVo> getExamList(String name);
    public void deleteExam(Long id);
    public void setPaperToExam(Long id, Long paperId);//为考试添加试卷
}
